package appapi.service.impl;

import appapi.dao.AppuserMapper;
import appapi.entity.mqtt.Appuser;
import appapi.service.AppuserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version: java version 1.8
 * @Author: Ygp Work
 * @description:
 * @date: 2023-07-07 11:04
 */
@Service
public class AppuserServiceImpl implements AppuserService {
    @Autowired
    AppuserMapper appuserMapper;
    @Override
    public void insertAppuser(Appuser appuser) {
        appuserMapper.insertAppuser(appuser);
    }

    @Override
    public List<Appuser> getAll() {
        return appuserMapper.getAll();
    }
}
